/*            Copyright(c) 2006-2008 Dave Sexton           *
 * http://www.codeplex.com/DocProject                      *
 * http://www.codeplex.com/DocProject/Project/License.aspx *
 ***********************************************************/
using System;
using System.Collections.Generic;
using System.Text;

namespace DaveSexton.DocProject.Sandcastle
{
	internal sealed class SandcastleToolBar : ToolBar
	{
		[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1802:UseLiteralsWhereAppropriate")]
		public static readonly string DefaultName = "DocProject - Sandcastle";

		/// <summary>
		/// Constructs a new instance of the <see cref="SandcastleToolBar" /> class.
		/// </summary>
		public SandcastleToolBar(SandcastleBuildEngineProvider provider)
			: base(provider, DefaultName)
		{
			TopicDesignerToolBarCommand designer = new TopicDesignerToolBarCommand();
			TopicManagementToolBarCommand manager = new TopicManagementToolBarCommand();
			Help1xInvokerToolBarCommand help1x = new Help1xInvokerToolBarCommand();
			Help2xInvokerToolBarCommand help2x = new Help2xInvokerToolBarCommand();

			Commands.Add(designer);
			Commands.Add(manager);
			Commands.Add(help1x);
			Commands.Add(help2x);
		}
	}
}
